package cn.gjxblog.api;

import cn.gjxblog.common.model.HttpResult;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author gjx
 * @version v1.0
 * @Description
 * @date 2019/1/9 10:09
 */
@FeignClient(value = "common-server")
public interface MailServiceFegin {

    @GetMapping("/mail/snedSimplMail")
    HttpResult snedSimplMail(@RequestParam("subject") String subject, @RequestParam("content") String content,@RequestParam("toEmail") String toEmail);
}
